import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class RandomSelectionStrategy implements PaperSelectionStrategy {
    @Override
    public List<Paper> selectPapers(List<Paper> papers, int q) {
        List<Paper> shuffled = new ArrayList<>(papers);
        Collections.shuffle(shuffled);
        return shuffled.subList(0, q);
    }
}